import Vue from 'vue'
import App from './App.vue'
//引入bootstrap
import "bootstrap/dist/css/bootstrap.css"
//引入axios
import axios from "axios";
//配置基地址
axios.defaults.baseURL = "https://applet-base-api-t.itheima.net/";
//挂载到原型上面
Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.directive("focus", {
  inserted(el) {
    el.focus()
  }
})
new Vue({
  render: h => h(App),
}).$mount('#app')